<?php

namespace App\Services\Tools;

class ActionEnumService
{

    /**********行为相关**********/
    // 登录(new)
    const ACTION_TYPE_LOGIN = 1;

    // 进入房间(new)
    const ACTION_TYPE_ENTER_ROOM = 2;

    // 离开房间(new)
    const ACTION_TYPE_LEAVE_ROOM = 3;

    // 参与小猫浇水(offline)
    const ACTION_TYPE_PLAY_CAT_WATER = 4;

    // 关注房间(done)
    const ACTION_TYPE_FOLLOW_ROOM = 5;

    // 关注用户(done)
    const ACTION_TYPE_FOLLOW_USER = 7;

    // 聊天(done)
    const ACTION_TYPE_CHAT = 9;

    // 送礼物(done)
    const ACTION_TYPE_GIVE_GIFT = 10;

    // 实名认证通过(done|new)
    const ACTION_TYPE_VERIFY_PASS = 11;

    // 个人资料编辑(done)
    const ACTION_TYPE_EDIT_USER_INFO = 12;

    // 创建房间(done)
    const ACTION_TYPE_CREATE_ROOM = 13;

    // 充值成功(done)
    const ACTION_TYPE_RECHARGE_SUCCESS = 14;

    // 参与抢宝石(done)
    const ACTION_TYPE_PLAY_CANDY = 15;

    // 注册(done)
    const ACTION_TYPE_REGISTER = 16;

    // 积分商城兑换(new)
    const ACTION_TYPE_SCORE_MALL_EXCHANGE = 17;

    // 打开每日任务界面前(new)
    const ACTION_TYPE_BEFORE_OPEN_EVERY_DAY_TASK = 18;

    // 打开新手任务界面前(new)
    const ACTION_TYPE_BEFORE_OPEN_NEW_PLAYER_TASK = 19;

    // 分享完成(new)
    const ACTION_TYPE_SHARE_COMPLETE = 20;

    // 发放道具奖励(new)
    const ACTION_TYPE_SEND_REWARD = 21;

    const RECHARGE_ORDER_TYPE          = [
        1 => '支付宝',
        2 => '微信',
        3 => '苹果内购',
        4 => 'h5支付宝',
        5 => 'h5微信',
    ];
    const RECHARGE_ORDER__PRODUCT_TYPE = [
        1 => '人民币',
        2 => '守护',
    ];
}
